import type { JSX } from "react";
import "./style.scss";

interface PropsType {
  children?: JSX.Element;
}

const PublicStyleComp: React.FC<PropsType> = (props) => {
  return (
    <div className="publicStyleComp">
      <div className="title">
        <div className="line"></div>
        <div className="text">标签名称</div>
      </div>
      <div className="content">{props.children}</div>
    </div>
  );
};

export default PublicStyleComp;
